package com.scoressystem.service;

import com.scoressystem.pojo.ScoreBean;
import com.scoressystem.pojo.Student;
import com.scoressystem.pojo.Subjects;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentService {
    //分页每页数据
    List<Student> SelectAllStudentBypage(Map<String,Object> map);
    //总条数
    long SelectAllStudentCount(Map<String,Object> map);
    Integer insertStudent(Student student);
    int searchAllByStuNoInt(Student student);
    int updateStudent(Student student);
    int deleteByStuNoInt(Student student);
    List<Student> selectAllStudentBydel();
    Student selectStudentlogin( String stuNo, String stuPass);
    List<ScoreBean> selectAllScorebean(String stuId);
    Integer updateStudentpass( String stuPass, String stuNo);
}
